package com.easylinkin.linkappapi.webcammanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.webcammanage.entity.DataAnalystBean;
import com.easylinkin.linkappapi.webcammanage.entity.QueryDataCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//此mapper不在使用，岳阳石化数据已接入到elasticsearch
public interface DataAnalystMapper extends BaseMapper<DataAnalystBean> {

    //获取分页数据
    List<DataAnalystBean> selectDataAnalystPage(Page page, @Param("record") QueryDataCondition QueryDataCondition);

    //保存新增数据分析记录
    void insertDataAnalystRecord(DataAnalystBean dataAnalystBean);

    //逻辑删除数据分析记录
    void deleteDataAnalystRecord(@Param("id")String id);

    //修改数据  根据主键ID
    void updateDataAnalystRecord(DataAnalystBean dataAnalystBean);
}
